package model.qiaojie.demo2.remote;

import model.qiaojie.demo2.device.Device;

/**
 *  高级远程控制器
 * @author 乔巴
 * @date 2021/5/8 16:38
 **/
public class AdvancedRemote extends BasicRemote {

    public AdvancedRemote(Device device) {
        super.device = device;
    }

    public void mute() {
        System.out.println("Remote: mute");
        device.setVolume(0);
    }
}
